<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<button type="button" onclick="window.location.href='edit'">上传文件</button>
	<table border = "1" width="800">
		<tr>
			<td>id</td><td>文件名</td><td>UUId</td><td>操作</td>
		</tr>
		<c:forEach items="${models}" var = "f">
			<tr>
				<td>${f.id}</td>
				<td>${f.filename}</td>
				<td>${f.uuid}</td>
				<td>
					<a href="download?id=${f.id}">下载</a>
					<a href="delete?id=${f.id}">删除</a>
				</td>
			</tr>
		</c:forEach>
	</table>
</body> 
</html>